package pers.amos.edu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Table;
import java.util.Date;

@Table(name = "examination_paper_share")
public class ShareExminationPaperEntity {

    /**
     * 主键id
     */
    private String id;
    /**
     * 测试id
     */
    private String paperId;
    /**
     * 做题人openid
     */
    private String openId;
    /**
     * 分享人openid
     */
    private String shareOpenId;
    /**
     * 测试人员名称
     */
    private String testUserName;
    /**
     * 测试人员手机号码
     */
    private String testUserMobile;
    /**
     * 学生成绩
     */
    private String testUserAchievement;


    /**
     * 学生学校
     */
    private String testUserSchool;

    private String headUrl;

    /**
     * 测试结果
     */
    private String result;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getShareOpenId() {
        return shareOpenId;
    }

    public void setShareOpenId(String shareOpenId) {
        this.shareOpenId = shareOpenId;
    }

    public String getTestUserName() {
        return testUserName;
    }

    public void setTestUserName(String testUserName) {
        this.testUserName = testUserName;
    }

    public String getTestUserMobile() {
        return testUserMobile;
    }

    public void setTestUserMobile(String testUserMobile) {
        this.testUserMobile = testUserMobile;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getTestUserAchievement() {
        return testUserAchievement;
    }

    public void setTestUserAchievement(String testUserAchievement) {
        this.testUserAchievement = testUserAchievement;
    }

    public String getTestUserSchool() {
        return testUserSchool;
    }

    public void setTestUserSchool(String testUserSchool) {
        this.testUserSchool = testUserSchool;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }
}
